<template>
    <div>
        <el-form-item label="文本名称">
            <el-input v-model="data.options.label"/>
        </el-form-item>
        <el-form-item label="数量">
            <el-input-number v-model="data.options.max"/>
        </el-form-item>
        <el-form-item label="半星">
            <el-switch
                v-model="data.options.allowHalf"
                active-text="半星"
                inactive-text="全星"/>
        </el-form-item>
    </div>
</template>
<script>
export default {
    name: 'FormRate',
    props: {
        data: {
            type: Object
        }
    },
    methods: {

    }
}
</script>
